package com.dongdongshop.service;

import com.dongdongshop.pojo.OrderDTO;
import com.dongdongshop.pojo.TbOrder;

import java.util.List;
import java.util.Map;

/**
 * @Description
 * @ClassName OrderService
 * @Author RC
 * @date 2020.12.23 08:50
 */
public interface OrderService {
    Map<String,Object> saveOrderList(Long contactId, String userId, String sumPrice);

    List<OrderDTO> getMyOrder(String username);

    List<TbOrder> getOrderByOutTradeNo(String out_trade_no);

    Map<String, Object> refund(Long id);

    void updateOrderStatus(String out_trade_no);

    void updateOrderRefundStatus(String widtRout_trade_no);

    boolean sendMQService(String out_trade_no, String trade_no, String totalFee);

    Map<String, Object> getOrderAll(String sellerId);

    Map<String,Object> getMonthlySales(String sellerId);
}
